<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: pico_multicore</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.1.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__pico__multicore.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">Modules</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">pico_multicore<div class="ingroups"><a class="el" href="group__high__level.html">High Level APIs</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Adds support for running code on, and interacting with the second processor core (core 1).  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="groups" name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:group__multicore__fifo"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__fifo.html">fifo</a></td></tr>
<tr class="memdesc:group__multicore__fifo"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions for the inter-core FIFOs. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__multicore__doorbell"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html">doorbell</a></td></tr>
<tr class="memdesc:group__multicore__doorbell"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions related to doorbells which a core can use to raise IRQs on itself or the other core. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__multicore__lockout"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__lockout.html">lockout</a></td></tr>
<tr class="memdesc:group__multicore__lockout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions to enable one core to force the other core to pause execution in a known state. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga1413ebfa65114c6f408f4675897ac5ee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__pico__multicore.html#ga1413ebfa65114c6f408f4675897ac5ee">SIO_FIFO_IRQ_NUM</a>(core)</td></tr>
<tr class="memdesc:ga1413ebfa65114c6f408f4675897ac5ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="group__hardware__irq.html#gaf30862f51b5994ffd5863176a185d137">irq_num_t</a> for the FIFO IRQ on the given core.  <a href="group__pico__multicore.html#ga1413ebfa65114c6f408f4675897ac5ee">More...</a><br /></td></tr>
<tr class="separator:ga1413ebfa65114c6f408f4675897ac5ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gad7a189a5f44f0124d74aa5b206f9a262"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262">multicore_reset_core1</a> (void)</td></tr>
<tr class="memdesc:gad7a189a5f44f0124d74aa5b206f9a262"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset core 1.  <a href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262">More...</a><br /></td></tr>
<tr class="separator:gad7a189a5f44f0124d74aa5b206f9a262"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46ea5e2efc181aba1d4d1de06a375c59"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__pico__multicore.html#ga46ea5e2efc181aba1d4d1de06a375c59">multicore_launch_core1</a> (void(*entry)(void))</td></tr>
<tr class="memdesc:ga46ea5e2efc181aba1d4d1de06a375c59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run code on core 1.  <a href="group__pico__multicore.html#ga46ea5e2efc181aba1d4d1de06a375c59">More...</a><br /></td></tr>
<tr class="separator:ga46ea5e2efc181aba1d4d1de06a375c59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1926bb2da43016e5d14eb52c8c123f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__pico__multicore.html#gac1926bb2da43016e5d14eb52c8c123f4">multicore_launch_core1_with_stack</a> (void(*entry)(void), uint32_t *stack_bottom, size_t stack_size_bytes)</td></tr>
<tr class="memdesc:gac1926bb2da43016e5d14eb52c8c123f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Launch code on core 1 with stack.  <a href="group__pico__multicore.html#gac1926bb2da43016e5d14eb52c8c123f4">More...</a><br /></td></tr>
<tr class="separator:gac1926bb2da43016e5d14eb52c8c123f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3a24e275219229de49d1fb32e3c4ef0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__pico__multicore.html#gac3a24e275219229de49d1fb32e3c4ef0">multicore_launch_core1_raw</a> (void(*entry)(void), uint32_t *sp, uint32_t vector_table)</td></tr>
<tr class="memdesc:gac3a24e275219229de49d1fb32e3c4ef0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Launch code on core 1 with no stack protection.  <a href="group__pico__multicore.html#gac3a24e275219229de49d1fb32e3c4ef0">More...</a><br /></td></tr>
<tr class="separator:gac3a24e275219229de49d1fb32e3c4ef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p >Adds support for running code on, and interacting with the second processor core (core 1). </p>
<h2><a class="anchor" id="multicore_example"></a>
Example</h2>
<div class="fragment"><div class="line"> </div>
<div class="line"><span class="preprocessor">#include &lt;<a class="code" href="stdio_8h.html">stdio.h</a>&gt;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="stdlib_8h.html">pico/stdlib.h</a>&quot;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="multicore_8h.html">pico/multicore.h</a>&quot;</span></div>
<div class="line"> </div>
<div class="line"><span class="preprocessor">#define FLAG_VALUE 123</span></div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">void</span> core1_entry() {</div>
<div class="line"> </div>
<div class="line">    <a class="code hl_function" href="group__multicore__fifo.html#ga134933a693c53c4f94c9d3cd3cabfc79">multicore_fifo_push_blocking</a>(FLAG_VALUE);</div>
<div class="line"> </div>
<div class="line">    uint32_t g = <a class="code hl_function" href="group__multicore__fifo.html#ga929272dd1056d8ae05667beda4adb0fc">multicore_fifo_pop_blocking</a>();</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">if</span> (g != FLAG_VALUE)</div>
<div class="line">        printf(<span class="stringliteral">&quot;Hmm, that&#39;s not right on core 1!\n&quot;</span>);</div>
<div class="line">    <span class="keywordflow">else</span></div>
<div class="line">        printf(<span class="stringliteral">&quot;Its all gone well on core 1!&quot;</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">while</span> (1)</div>
<div class="line">        <a class="code hl_function" href="group__pico__platform.html#gab0d1ba75ceb64131e19f613d7a5313c9">tight_loop_contents</a>();</div>
<div class="line">}</div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">int</span> main() {</div>
<div class="line">    <a class="code hl_function" href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a>();</div>
<div class="line">    printf(<span class="stringliteral">&quot;Hello, multicore!\n&quot;</span>);</div>
<div class="line"> </div>
<div class="line"> </div>
<div class="line">    <a class="code hl_function" href="group__pico__multicore.html#ga46ea5e2efc181aba1d4d1de06a375c59">multicore_launch_core1</a>(core1_entry);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Wait for it to start up</span></div>
<div class="line"> </div>
<div class="line">    uint32_t g = <a class="code hl_function" href="group__multicore__fifo.html#ga929272dd1056d8ae05667beda4adb0fc">multicore_fifo_pop_blocking</a>();</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">if</span> (g != FLAG_VALUE)</div>
<div class="line">        printf(<span class="stringliteral">&quot;Hmm, that&#39;s not right on core 0!\n&quot;</span>);</div>
<div class="line">    <span class="keywordflow">else</span> {</div>
<div class="line">        <a class="code hl_function" href="group__multicore__fifo.html#ga134933a693c53c4f94c9d3cd3cabfc79">multicore_fifo_push_blocking</a>(FLAG_VALUE);</div>
<div class="line">        printf(<span class="stringliteral">&quot;It&#39;s all gone well on core 0!&quot;</span>);</div>
<div class="line">    }</div>
<div class="line"> </div>
<div class="line">}</div>
<div class="ttc" id="agroup__multicore__fifo_html_ga134933a693c53c4f94c9d3cd3cabfc79"><div class="ttname"><a href="group__multicore__fifo.html#ga134933a693c53c4f94c9d3cd3cabfc79">multicore_fifo_push_blocking</a></div><div class="ttdeci">void multicore_fifo_push_blocking(uint32_t data)</div><div class="ttdoc">Push data on to the write FIFO (data to the other core).</div><div class="ttdef"><b>Definition:</b> multicore.c:34</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga929272dd1056d8ae05667beda4adb0fc"><div class="ttname"><a href="group__multicore__fifo.html#ga929272dd1056d8ae05667beda4adb0fc">multicore_fifo_pop_blocking</a></div><div class="ttdeci">uint32_t multicore_fifo_pop_blocking(void)</div><div class="ttdoc">Pop data from the read FIFO (data from the other core).</div><div class="ttdef"><b>Definition:</b> multicore.c:53</div></div>
<div class="ttc" id="agroup__pico__multicore_html_ga46ea5e2efc181aba1d4d1de06a375c59"><div class="ttname"><a href="group__pico__multicore.html#ga46ea5e2efc181aba1d4d1de06a375c59">multicore_launch_core1</a></div><div class="ttdeci">void multicore_launch_core1(void(*entry)(void))</div><div class="ttdoc">Run code on core 1.</div><div class="ttdef"><b>Definition:</b> multicore.c:157</div></div>
<div class="ttc" id="agroup__pico__platform_html_gab0d1ba75ceb64131e19f613d7a5313c9"><div class="ttname"><a href="group__pico__platform.html#gab0d1ba75ceb64131e19f613d7a5313c9">tight_loop_contents</a></div><div class="ttdeci">static __force_inline void tight_loop_contents(void)</div><div class="ttdoc">No-op function for the body of tight loops.</div><div class="ttdef"><b>Definition:</b> platform.h:80</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga0e604311fb226dae91ff4eb17a19d67a"><div class="ttname"><a href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a></div><div class="ttdeci">bool stdio_init_all(void)</div><div class="ttdoc">Initialize all of the present standard stdio types that are linked into the binary.</div><div class="ttdef"><b>Definition:</b> stdio.c:200</div></div>
<div class="ttc" id="amulticore_8h_html"><div class="ttname"><a href="multicore_8h.html">multicore.h</a></div></div>
<div class="ttc" id="astdio_8h_html"><div class="ttname"><a href="stdio_8h.html">stdio.h</a></div></div>
<div class="ttc" id="astdlib_8h_html"><div class="ttname"><a href="stdlib_8h.html">stdlib.h</a></div></div>
</div><!-- fragment --> <h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga1413ebfa65114c6f408f4675897ac5ee" name="ga1413ebfa65114c6f408f4675897ac5ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1413ebfa65114c6f408f4675897ac5ee">&#9670;&nbsp;</a></span>SIO_FIFO_IRQ_NUM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SIO_FIFO_IRQ_NUM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">core</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the <a class="el" href="group__hardware__irq.html#gaf30862f51b5994ffd5863176a185d137">irq_num_t</a> for the FIFO IRQ on the given core. </p>
<p >On RP2040 each core has a different IRQ number: <code>SIO_IRQ_PROC0</code> and <code>SIO_IRQ_PROC1</code>.   On RP2350 both cores share the same irq number (<code>SIO_IRQ_PROC</code>) just with a different SIO interrupt output routed to that IRQ input on each core. </p>
<p >Note this macro is intended to resolve at compile time, and does no parameter checking </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga46ea5e2efc181aba1d4d1de06a375c59" name="ga46ea5e2efc181aba1d4d1de06a375c59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga46ea5e2efc181aba1d4d1de06a375c59">&#9670;&nbsp;</a></span>multicore_launch_core1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void multicore_launch_core1 </td>
          <td>(</td>
          <td class="paramtype">void(*)(void)&#160;</td>
          <td class="paramname"><em>entry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run code on core 1. </p>
<p >Wake up (a previously reset) core 1 and enter the given function on core 1 using the default core 1 stack (below core 0 stack).</p>
<p >core 1 must previously have been reset either as a result of a system reset or by calling <a class="el" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262">multicore_reset_core1</a></p>
<p >core 1 will use the same vector table as core 0</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">entry</td><td>Function entry point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262" title="Reset core 1.">multicore_reset_core1</a> </dd></dl>

</div>
</div>
<a id="gac3a24e275219229de49d1fb32e3c4ef0" name="gac3a24e275219229de49d1fb32e3c4ef0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3a24e275219229de49d1fb32e3c4ef0">&#9670;&nbsp;</a></span>multicore_launch_core1_raw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void multicore_launch_core1_raw </td>
          <td>(</td>
          <td class="paramtype">void(*)(void)&#160;</td>
          <td class="paramname"><em>entry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>sp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>vector_table</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Launch code on core 1 with no stack protection. </p>
<p >Wake up (a previously reset) core 1 and start it executing with a specific entry point, stack pointer and vector table.</p>
<p >This is a low level function that does not provide a stack guard even if USE_STACK_GUARDS is defined</p>
<p >core 1 must previously have been reset either as a result of a system reset or by calling <a class="el" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262">multicore_reset_core1</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">entry</td><td>Function entry point </td></tr>
    <tr><td class="paramname">sp</td><td>Pointer to the top of the core 1 stack </td></tr>
    <tr><td class="paramname">vector_table</td><td>address of the vector table to use for core 1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262" title="Reset core 1.">multicore_reset_core1</a> </dd></dl>

</div>
</div>
<a id="gac1926bb2da43016e5d14eb52c8c123f4" name="gac1926bb2da43016e5d14eb52c8c123f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac1926bb2da43016e5d14eb52c8c123f4">&#9670;&nbsp;</a></span>multicore_launch_core1_with_stack()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void multicore_launch_core1_with_stack </td>
          <td>(</td>
          <td class="paramtype">void(*)(void)&#160;</td>
          <td class="paramname"><em>entry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>stack_bottom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>stack_size_bytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Launch code on core 1 with stack. </p>
<p >Wake up (a previously reset) core 1 and enter the given function on core 1 using the passed stack for core 1</p>
<p >core 1 must previously have been reset either as a result of a system reset or by calling <a class="el" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262">multicore_reset_core1</a></p>
<p >core 1 will use the same vector table as core 0</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">entry</td><td>Function entry point </td></tr>
    <tr><td class="paramname">stack_bottom</td><td>The bottom (lowest address) of the stack </td></tr>
    <tr><td class="paramname">stack_size_bytes</td><td>The size of the stack in bytes (must be a multiple of 4) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262" title="Reset core 1.">multicore_reset_core1</a> </dd></dl>

</div>
</div>
<a id="gad7a189a5f44f0124d74aa5b206f9a262" name="gad7a189a5f44f0124d74aa5b206f9a262"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad7a189a5f44f0124d74aa5b206f9a262">&#9670;&nbsp;</a></span>multicore_reset_core1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void multicore_reset_core1 </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset core 1. </p>
<p >This function can be used to reset core 1 into its initial state (ready for launching code against via <a class="el" href="group__pico__multicore.html#ga46ea5e2efc181aba1d4d1de06a375c59">multicore_launch_core1</a> and similar methods)</p>
<dl class="section note"><dt>Note</dt><dd>this function should only be called from core 0 </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>